package cn.lanyi.feign;

import cn.lanyi.domain.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "",path = "",contextId = "")
public interface UserService {

    @GetMapping("/{id}")
    User getUser(@PathVariable Long id);

}
